Incorrect string value: '\xE4\xB8\xAD\xE6\x96\x87' for column 'type_name' at row 1
| Request Method: | POST |
|---|---|
| Request URL: | http://localhost:8000/admin/act/acttype/add/ |
| Exception Type: | Warning |
| Exception Value: | Incorrect string value: '\xE4\xB8\xAD\xE6\x96\x87' for column 'type_name' at row 1 |
| Exception Location: | D:\Python25\lib\warnings.py in warn_explicit, line 102 |
| Python Executable: | D:\Python25\python.exe |
| Python Version: | 2.5.2 |
| Python Path: | ['D:\\web\\activity', 'C:\\WINDOWS\\system32\\python25.zip', 'D:\\Python25\\DLLs', 'D:\\Python25\\lib', 'D:\\Python25\\lib\\plat-win', 'D:\\Python25\\lib\\lib-tk', 'D:\\Python25', 'D:\\Python25\\lib\\site-packages'] |
| Server time: | 星期二, 4 十一月 2008 14:14:01 +0800 |
D:\Python25\Lib\site-packages\django\core\handlers\base.py in get_response
| Variable | Value |
|---|---|
| callback | <bound method AdminSite.root of <django.contrib.admin.sites.AdminSite object at 0x0110F6B0>> |
| callback_args | (u'act/acttype/add/',) |
| callback_kwargs | {} |
| e | Warning("Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1",) |
| exc_info | (<class '_mysql_exceptions.Warning'>,
Warning("Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1",),
<traceback object at 0x018CA5D0>) |
| exceptions | <module 'django.core.exceptions' from 'D:\Python25\lib\site-packages\django\core\exceptions.pyc'> |
| middleware_method | <bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x011E2FF0>> |
| receivers | [(<function _rollback_on_exception at 0x0104B2F0>, None)] |
| request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
| resolver | <RegexURLResolver activity.urls ^/> |
| response | None |
| self | <django.core.handlers.wsgi.WSGIHandler object at 0x011B9610> |
| settings | <django.conf.LazySettings object at 0x00C8A110> |
| urlconf | 'activity.urls' |
| urlresolvers | <module 'django.core.urlresolvers' from 'D:\Python25\lib\site-packages\django\core\urlresolvers.pyc'> |
D:\Python25\Lib\site-packages\django\contrib\admin\sites.py in root
| Variable | Value |
|---|---|
| request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
| self | <django.contrib.admin.sites.AdminSite object at 0x0110F6B0> |
| url | u'act/acttype/add' |
D:\Python25\Lib\site-packages\django\views\decorators\cache.py in _wrapped_view_func
| Variable | Value |
|---|---|
| args | (<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>,
u'act',
u'acttype',
u'add') |
| kwargs | {} |
| request | <django.contrib.admin.sites.AdminSite object at 0x0110F6B0> |
| view_func | <function model_page at 0x01112730> |
D:\Python25\Lib\site-packages\django\contrib\admin\sites.py in model_page
| Variable | Value |
|---|---|
| admin_obj | <django.contrib.admin.options.ModelAdmin object at 0x017AF650> |
| app_label | u'act' |
| model | <class 'activity.act.models.ActType'> |
| model_name | u'acttype' |
| models | <module 'django.db.models' from 'D:\Python25\lib\site-packages\django\db\models\__init__.pyc'> |
| request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
| rest_of_url | u'add' |
| self | <django.contrib.admin.sites.AdminSite object at 0x0110F6B0> |
D:\Python25\Lib\site-packages\django\contrib\admin\options.py in __call__
| Variable | Value |
|---|---|
| request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
| self | <django.contrib.admin.options.ModelAdmin object at 0x017AF650> |
| url | u'add' |
D:\Python25\Lib\site-packages\django\db\transaction.py in _commit_on_success
| Variable | Value |
|---|---|
| args | (<django.contrib.admin.options.ModelAdmin object at 0x017AF650>,
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>) |
| func | <function add_view at 0x01101FB0> |
| kw | {} |
D:\Python25\Lib\site-packages\django\contrib\admin\options.py in add_view
| Variable | Value |
|---|---|
| ModelForm | <class 'django.forms.models.ActTypeForm'> |
| app_label | 'act' |
| extra_context | None |
| form | <django.forms.models.ActTypeForm object at 0x017EAA90> |
| form_url | '' |
| form_validated | True |
| formsets | [] |
| model | <class 'activity.act.models.ActType'> |
| new_object | <ActType: ActType object> |
| opts | <Options for ActType> |
| post_url | '../' |
| request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
| self | <django.contrib.admin.options.ModelAdmin object at 0x017AF650> |
D:\Python25\Lib\site-packages\django\contrib\admin\options.py in save_model
| Variable | Value |
|---|---|
| change | False |
| form | <django.forms.models.ActTypeForm object at 0x017EAA90> |
| obj | <ActType: ActType object> |
| request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'type_desc': [u'\u4e2d\u6587'], u'type_name': [u'\u4e2d\u6587'], u'_save': [u'\u4fdd\u5b58']}>,
COOKIES:{'sessionid': '36252a93cec513f8db70c127f8809c2a'},
META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users',
'APPDATA': 'C:\\Documents and Settings\\Administrator\\Application Data',
'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'JUSTICE',
'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'CONTENT_LENGTH': '350',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------7d8da11e066e',
'DJANGO_SETTINGS_MODULE': 'activity.settings',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Documents and Settings\\Administrator',
'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn',
'HTTP_CACHE_CONTROL': 'no-cache',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_COOKIE': 'sessionid=36252a93cec513f8db70c127f8809c2a',
'HTTP_HOST': 'localhost:8000',
'HTTP_REFERER': 'http://localhost:8000/admin/act/acttype/add/',
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)',
'JAVA_HOME': 'C:\\Program Files\\Java\\jdk1.6.0',
'LOGONSERVER': '\\\\JUSTICE',
'NUMBER_OF_PROCESSORS': '2',
'OS': 'Windows_NT',
'PATH': 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/admin/act/acttype/add/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '0f02',
'PROGRAMFILES': 'C:\\Program Files',
'PROMPT': '$P$G',
'PYTHON_HOME': 'D:\\Python25',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'POST',
'RUN_MAIN': 'true',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\WINDOWS',
'TEMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'TMP': 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp',
'USERDOMAIN': 'JUSTICE',
'USERNAME': 'Administrator',
'USERPROFILE': 'C:\\Documents and Settings\\Administrator',
'WF_RESOURCES': 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES',
'WINDIR': 'C:\\WINDOWS',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00B6F0B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x011D2B30>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
| self | <django.contrib.admin.options.ModelAdmin object at 0x017AF650> |
D:\Python25\Lib\site-packages\django\db\models\base.py in save
| Variable | Value |
|---|---|
| force_insert | False |
| force_update | False |
| self | <ActType: ActType object> |
D:\Python25\Lib\site-packages\django\db\models\base.py in save_base
| Variable | Value |
|---|---|
| cls | <class 'activity.act.models.ActType'> |
| f | <django.db.models.fields.TextField object at 0x011B9B30> |
| force_insert | False |
| force_update | False |
| manager | <django.db.models.manager.Manager object at 0x011B9C50> |
| meta | <Options for ActType> |
| non_pks | [<django.db.models.fields.CharField object at 0x011B9B10>,
<django.db.models.fields.TextField object at 0x011B9B30>] |
| pk_set | False |
| pk_val | None |
| raw | False |
| record_exists | False |
| self | <ActType: ActType object> |
| signal | True |
| update_pk | True |
| values | [(<django.db.models.fields.CharField object at 0x011B9B10>, u'\u4e2d\u6587'),
(<django.db.models.fields.TextField object at 0x011B9B30>, u'\u4e2d\u6587')] |
D:\Python25\Lib\site-packages\django\db\models\manager.py in _insert
| Variable | Value |
|---|---|
| kwargs | {'return_id': True} |
| self | <django.db.models.manager.Manager object at 0x011B9C50> |
| values | [(<django.db.models.fields.CharField object at 0x011B9B10>, u'\u4e2d\u6587'),
(<django.db.models.fields.TextField object at 0x011B9B30>, u'\u4e2d\u6587')] |
D:\Python25\Lib\site-packages\django\db\models\query.py in insert_query
| Variable | Value |
|---|---|
| model | <class 'activity.act.models.ActType'> |
| query | <django.db.models.sql.subqueries.InsertQuery object at 0x018692F0> |
| raw_values | False |
| return_id | True |
| values | [(<django.db.models.fields.CharField object at 0x011B9B10>, u'\u4e2d\u6587'),
(<django.db.models.fields.TextField object at 0x011B9B30>, u'\u4e2d\u6587')] |
D:\Python25\Lib\site-packages\django\db\models\sql\subqueries.py in execute_sql
| Variable | Value |
|---|---|
| return_id | True |
| self | <django.db.models.sql.subqueries.InsertQuery object at 0x018692F0> |
D:\Python25\Lib\site-packages\django\db\models\sql\query.py in execute_sql
| Variable | Value |
|---|---|
| cursor | <django.db.backends.util.CursorDebugWrapper object at 0x017E83B0> |
| params | (u'\u4e2d\u6587', u'\u4e2d\u6587') |
| result_type | None |
| self | <django.db.models.sql.subqueries.InsertQuery object at 0x018692F0> |
| sql | 'INSERT INTO `act_acttype` (`type_name`, `type_desc`) VALUES (%s, %s)' |
D:\Python25\Lib\site-packages\django\db\backends\util.py in execute
| Variable | Value |
|---|---|
| params | (u'\u4e2d\u6587', u'\u4e2d\u6587') |
| self | <django.db.backends.util.CursorDebugWrapper object at 0x017E83B0> |
| sql | u'INSERT INTO `act_acttype` (`type_name`, `type_desc`) VALUES (\u4e2d\u6587, \u4e2d\u6587)' |
| start | 1225779241.25 |
| stop | 1225779241.25 |
D:\Python25\Lib\site-packages\django\db\backends\mysql\base.py in execute
| Variable | Value |
|---|---|
| args | (u'\u4e2d\u6587', u'\u4e2d\u6587') |
| query | 'INSERT INTO `act_acttype` (`type_name`, `type_desc`) VALUES (%s, %s)' |
| self | <django.db.backends.mysql.base.CursorWrapper object at 0x017E8FB0> |
D:\Python25\Lib\site-packages\MySQLdb\cursors.py in execute
| Variable | Value |
|---|---|
| ListType | <type 'list'> |
| TupleType | <type 'tuple'> |
| args | (u'\u4e2d\u6587', u'\u4e2d\u6587') |
| charset | 'utf8' |
| db | <weakproxy at 01861390 to Connection at 01909FA8> |
| exc_info | <built-in function exc_info> |
| query | "INSERT INTO `act_acttype` (`type_name`, `type_desc`) VALUES ('\xe4\xb8\xad\xe6\x96\x87', '\xe4\xb8\xad\xe6\x96\x87')" |
| r | 1L |
| self | <MySQLdb.cursors.Cursor object at 0x017E87F0> |
D:\Python25\Lib\site-packages\MySQLdb\cursors.py in _warning_check
| Variable | Value |
|---|---|
| self | <MySQLdb.cursors.Cursor object at 0x017E87F0> |
| w | ('Warning',
1366L,
"Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1") |
| warn | <function warn at 0x00BE58F0> |
| warnings | (('Warning',
1366L,
"Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1"),
('Warning',
1366L,
"Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_desc' at row 1")) |
D:\Python25\lib\warnings.py in warn
| Variable | Value |
|---|---|
| caller | <frame object at 0x0193DA90> |
| category | <class '_mysql_exceptions.Warning'> |
| filename | 'D:\\Python25\\lib\\site-packages\\django\\db\\backends\\mysql\\base.py' |
| fnl | 'd:\\python25\\lib\\site-packages\\django\\db\\backends\\mysql\\base.pyc' |
| globals | {'BaseDatabaseClient': <class 'django.db.backends.BaseDatabaseClient'>,
'BaseDatabaseFeatures': <class 'django.db.backends.BaseDatabaseFeatures'>,
'BaseDatabaseIntrospection': <class 'django.db.backends.BaseDatabaseIntrospection'>,
'BaseDatabaseOperations': <class 'django.db.backends.BaseDatabaseOperations'>,
'BaseDatabaseValidation': <class 'django.db.backends.BaseDatabaseValidation'>,
'BaseDatabaseWrapper': <class 'django.db.backends.BaseDatabaseWrapper'>,
'CursorWrapper': <class 'django.db.backends.mysql.base.CursorWrapper'>,
'Database': <module 'MySQLdb' from 'D:\Python25\lib\site-packages\MySQLdb\__init__.pyc'>,
'DatabaseClient': <class 'django.db.backends.mysql.client.DatabaseClient'>,
'DatabaseCreation': <class 'django.db.backends.mysql.creation.DatabaseCreation'>,
'DatabaseError': <class '_mysql_exceptions.DatabaseError'>,
'DatabaseFeatures': <class 'django.db.backends.mysql.base.DatabaseFeatures'>,
'DatabaseIntrospection': <class 'django.db.backends.mysql.introspection.DatabaseIntrospection'>,
'DatabaseOperations': <class 'django.db.backends.mysql.base.DatabaseOperations'>,
'DatabaseValidation': <class 'django.db.backends.mysql.validation.DatabaseValidation'>,
'DatabaseWrapper': <class 'django.db.backends.mysql.base.DatabaseWrapper'>,
'FIELD_TYPE': <module 'MySQLdb.constants.FIELD_TYPE' from 'D:\Python25\lib\site-packages\MySQLdb\constants\FIELD_TYPE.pyc'>,
'FLAG': <module 'MySQLdb.constants.FLAG' from 'D:\Python25\lib\site-packages\MySQLdb\constants\FLAG.pyc'>,
'IntegrityError': <class '_mysql_exceptions.IntegrityError'>,
'__builtins__': {'ArithmeticError': <type 'exceptions.ArithmeticError'>,
'AssertionError': <type 'exceptions.AssertionError'>,
'AttributeError': <type 'exceptions.AttributeError'>,
'BaseException': <type 'exceptions.BaseException'>,
'DeprecationWarning': <type 'exceptions.DeprecationWarning'>,
'EOFError': <type 'exceptions.EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <type 'exceptions.EnvironmentError'>,
'Exception': <type 'exceptions.Exception'>,
'False': False,
'FloatingPointError': <type 'exceptions.FloatingPointError'>,
'FutureWarning': <type 'exceptions.FutureWarning'>,
'GeneratorExit': <type 'exceptions.GeneratorExit'>,
'IOError': <type 'exceptions.IOError'>,
'ImportError': <type 'exceptions.ImportError'>,
'ImportWarning': <type 'exceptions.ImportWarning'>,
'IndentationError': <type 'exceptions.IndentationError'>,
'IndexError': <type 'exceptions.IndexError'>,
'KeyError': <type 'exceptions.KeyError'>,
'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
'LookupError': <type 'exceptions.LookupError'>,
'MemoryError': <type 'exceptions.MemoryError'>,
'NameError': <type 'exceptions.NameError'>,
'None': None,
'NotImplemented': NotImplemented,
'NotImplementedError': <type 'exceptions.NotImplementedError'>,
'OSError': <type 'exceptions.OSError'>,
'OverflowError': <type 'exceptions.OverflowError'>,
'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>,
'ReferenceError': <type 'exceptions.ReferenceError'>,
'RuntimeError': <type 'exceptions.RuntimeError'>,
'RuntimeWarning': <type 'exceptions.RuntimeWarning'>,
'StandardError': <type 'exceptions.StandardError'>,
'StopIteration': <type 'exceptions.StopIteration'>,
'SyntaxError': <type 'exceptions.SyntaxError'>,
'SyntaxWarning': <type 'exceptions.SyntaxWarning'>,
'SystemError': <type 'exceptions.SystemError'>,
'SystemExit': <type 'exceptions.SystemExit'>,
'TabError': <type 'exceptions.TabError'>,
'True': True,
'TypeError': <type 'exceptions.TypeError'>,
'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>,
'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>,
'UnicodeError': <type 'exceptions.UnicodeError'>,
'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>,
'UnicodeWarning': <type 'exceptions.UnicodeWarning'>,
'UserWarning': <type 'exceptions.UserWarning'>,
'ValueError': <type 'exceptions.ValueError'>,
'Warning': <type 'exceptions.Warning'>,
'WindowsError': <type 'exceptions.WindowsError'>,
'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>,
'__debug__': True,
'__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.",
'__import__': <built-in function __import__>,
'__name__': '__builtin__',
'abs': <built-in function abs>,
'all': <built-in function all>,
'any': <built-in function any>,
'apply': <built-in function apply>,
'basestring': <type 'basestring'>,
'bool': <type 'bool'>,
'buffer': <type 'buffer'>,
'callable': <built-in function callable>,
'chr': <built-in function chr>,
'classmethod': <type 'classmethod'>,
'cmp': <built-in function cmp>,
'coerce': <built-in function coerce>,
'compile': <built-in function compile>,
'complex': <type 'complex'>,
'copyright': Copyright (c) 2001-2008 Python Software Foundation.
All Rights Reserved.
Copyright (c) 2000 BeOpen.com.
All Rights Reserved.
Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.,
'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
for supporting Python development. See www.python.org for more information.,
'delattr': <built-in function delattr>,
'dict': <type 'dict'>,
'dir': <built-in function dir>,
'divmod': <built-in function divmod>,
'enumerate': <type 'enumerate'>,
'eval': <built-in function eval>,
'execfile': <built-in function execfile>,
'exit': Use exit() or Ctrl-Z plus Return to exit,
'file': <type 'file'>,
'filter': <built-in function filter>,
'float': <type 'float'>,
'frozenset': <type 'frozenset'>,
'getattr': <built-in function getattr>,
'globals': <built-in function globals>,
'hasattr': <built-in function hasattr>,
'hash': <built-in function hash>,
'help': Type help() for interactive help, or help(object) for help about object.,
'hex': <built-in function hex>,
'id': <built-in function id>,
'input': <built-in function input>,
'int': <type 'int'>,
'intern': <built-in function intern>,
'isinstance': <built-in function isinstance>,
'issubclass': <built-in function issubclass>,
'iter': <built-in function iter>,
'len': <built-in function len>,
'license': Type license() to see the full license text,
'list': <type 'list'>,
'locals': <built-in function locals>,
'long': <type 'long'>,
'map': <built-in function map>,
'max': <built-in function max>,
'min': <built-in function min>,
'object': <type 'object'>,
'oct': <built-in function oct>,
'open': <built-in function open>,
'ord': <built-in function ord>,
'pow': <built-in function pow>,
'property': <type 'property'>,
'quit': Use quit() or Ctrl-Z plus Return to exit,
'range': <built-in function range>,
'raw_input': <built-in function raw_input>,
'reduce': <built-in function reduce>,
'reload': <built-in function reload>,
'repr': <built-in function repr>,
'reversed': <type 'reversed'>,
'round': <built-in function round>,
'set': <type 'set'>,
'setattr': <built-in function setattr>,
'slice': <type 'slice'>,
'sorted': <built-in function sorted>,
'staticmethod': <type 'staticmethod'>,
'str': <type 'str'>,
'sum': <built-in function sum>,
'super': <type 'super'>,
'tuple': <type 'tuple'>,
'type': <type 'type'>,
'unichr': <built-in function unichr>,
'unicode': <type 'unicode'>,
'vars': <built-in function vars>,
'xrange': <type 'xrange'>,
'zip': <built-in function zip>},
'__doc__': '\nMySQL database backend for Django.\n\nRequires MySQLdb: http://sourceforge.net/projects/mysql-python\n',
'__file__': 'D:\\Python25\\lib\\site-packages\\django\\db\\backends\\mysql\\base.pyc',
'__name__': 'django.db.backends.mysql.base',
'__warningregistry__': {},
'conversions': {0: <class 'decimal.Decimal'>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x0102DAF0>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x0102DA30>,
11: <function TimeDelta_or_None at 0x0102D9B0>,
12: <function DateTime_or_None at 0x0102D970>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <class 'decimal.Decimal'>,
248: <function Str2Set at 0x0103EE70>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<class 'sets.Set'>: <function Set2Str at 0x0103EEB0>,
<type 'array.array'>: <function array2Str at 0x010410F0>,
<type 'bool'>: <function Bool2Str at 0x0103EE30>,
<type 'instance'>: <function Instance2Str at 0x01041070>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x0102DAB0>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x0102DA70>,
<type 'dict'>: <built-in function escape_dict>,
<type 'float'>: <function Float2Str at 0x0103EF70>,
<type 'int'>: <function Thing2Str at 0x0103EEF0>,
<type 'list'>: <built-in function escape_sequence>,
<type 'long'>: <function Thing2Str at 0x0103EEF0>,
<type 'NoneType'>: <function None2NULL at 0x0103EFB0>,
<type 'str'>: <function Thing2Literal at 0x01041030>,
<type 'tuple'>: <built-in function escape_sequence>,
<type 'object'>: <function Instance2Str at 0x01041070>,
<type 'unicode'>: <function Unicode2Str at 0x0103EF30>},
'datetime_safe': <module 'django.utils.datetime_safe' from 'D:\Python25\lib\site-packages\django\utils\datetime_safe.pyc'>,
'django_conversions': {0: <function typecast_decimal at 0x01020530>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x0102DAF0>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x0102DA30>,
11: <function typecast_time at 0x01020470>,
12: <function DateTime_or_None at 0x0102D970>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x01020530>,
248: <function Str2Set at 0x0103EE70>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<class 'sets.Set'>: <function Set2Str at 0x0103EEB0>,
<type 'array.array'>: <function array2Str at 0x010410F0>,
<type 'bool'>: <function Bool2Str at 0x0103EE30>,
<type 'instance'>: <function Instance2Str at 0x01041070>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x0102DAB0>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x0102DA70>,
<type 'dict'>: <built-in function escape_dict>,
<type 'float'>: <function Float2Str at 0x0103EF70>,
<type 'int'>: <function Thing2Str at 0x0103EEF0>,
<type 'list'>: <built-in function escape_sequence>,
<type 'long'>: <function Thing2Str at 0x0103EEF0>,
<type 'NoneType'>: <function None2NULL at 0x0103EFB0>,
<type 'str'>: <function Thing2Literal at 0x01041030>,
<type 'tuple'>: <built-in function escape_sequence>,
<type 'object'>: <function Instance2Str at 0x01041070>,
<type 'unicode'>: <function Unicode2Str at 0x0103EF30>},
'filterwarnings': <function filterwarnings at 0x00BE59F0>,
'local': <type 'thread._local'>,
'mysql': <module 'django.db.backends.mysql' from 'D:\Python25\lib\site-packages\django\db\backends\mysql\__init__.pyc'>,
're': <module 're' from 'D:\Python25\lib\re.pyc'>,
'server_version_re': <_sre.SRE_Pattern object at 0x01038318>,
'settings': <django.conf.LazySettings object at 0x00C8A110>,
'util': <module 'django.db.backends.util' from 'D:\Python25\lib\site-packages\django\db\backends\util.pyc'>,
'version': (1, 2, 2, 'final', 0)} |
| lineno | 83 |
| message | "Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1" |
| module | 'django.db.backends.mysql.base' |
| registry | {} |
| stacklevel | 3 |
D:\Python25\lib\warnings.py in warn_explicit
| Variable | Value |
|---|---|
| action | 'error' |
| cat | <class '_mysql_exceptions.Warning'> |
| category | <class '_mysql_exceptions.Warning'> |
| filename | 'D:\\Python25\\lib\\site-packages\\django\\db\\backends\\mysql\\base.py' |
| item | ('error',
<_sre.SRE_Pattern object at 0x0103DDD0>,
<class '_mysql_exceptions.Warning'>,
<_sre.SRE_Pattern object at 0x0103DE30>,
0) |
| key | ("Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1",
<class '_mysql_exceptions.Warning'>,
83) |
| lineno | 83 |
| ln | 0 |
| message | Warning("Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1",) |
| mod | <_sre.SRE_Pattern object at 0x0103DE30> |
| module | 'django.db.backends.mysql.base' |
| module_globals | {'BaseDatabaseClient': <class 'django.db.backends.BaseDatabaseClient'>,
'BaseDatabaseFeatures': <class 'django.db.backends.BaseDatabaseFeatures'>,
'BaseDatabaseIntrospection': <class 'django.db.backends.BaseDatabaseIntrospection'>,
'BaseDatabaseOperations': <class 'django.db.backends.BaseDatabaseOperations'>,
'BaseDatabaseValidation': <class 'django.db.backends.BaseDatabaseValidation'>,
'BaseDatabaseWrapper': <class 'django.db.backends.BaseDatabaseWrapper'>,
'CursorWrapper': <class 'django.db.backends.mysql.base.CursorWrapper'>,
'Database': <module 'MySQLdb' from 'D:\Python25\lib\site-packages\MySQLdb\__init__.pyc'>,
'DatabaseClient': <class 'django.db.backends.mysql.client.DatabaseClient'>,
'DatabaseCreation': <class 'django.db.backends.mysql.creation.DatabaseCreation'>,
'DatabaseError': <class '_mysql_exceptions.DatabaseError'>,
'DatabaseFeatures': <class 'django.db.backends.mysql.base.DatabaseFeatures'>,
'DatabaseIntrospection': <class 'django.db.backends.mysql.introspection.DatabaseIntrospection'>,
'DatabaseOperations': <class 'django.db.backends.mysql.base.DatabaseOperations'>,
'DatabaseValidation': <class 'django.db.backends.mysql.validation.DatabaseValidation'>,
'DatabaseWrapper': <class 'django.db.backends.mysql.base.DatabaseWrapper'>,
'FIELD_TYPE': <module 'MySQLdb.constants.FIELD_TYPE' from 'D:\Python25\lib\site-packages\MySQLdb\constants\FIELD_TYPE.pyc'>,
'FLAG': <module 'MySQLdb.constants.FLAG' from 'D:\Python25\lib\site-packages\MySQLdb\constants\FLAG.pyc'>,
'IntegrityError': <class '_mysql_exceptions.IntegrityError'>,
'__builtins__': {'ArithmeticError': <type 'exceptions.ArithmeticError'>,
'AssertionError': <type 'exceptions.AssertionError'>,
'AttributeError': <type 'exceptions.AttributeError'>,
'BaseException': <type 'exceptions.BaseException'>,
'DeprecationWarning': <type 'exceptions.DeprecationWarning'>,
'EOFError': <type 'exceptions.EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <type 'exceptions.EnvironmentError'>,
'Exception': <type 'exceptions.Exception'>,
'False': False,
'FloatingPointError': <type 'exceptions.FloatingPointError'>,
'FutureWarning': <type 'exceptions.FutureWarning'>,
'GeneratorExit': <type 'exceptions.GeneratorExit'>,
'IOError': <type 'exceptions.IOError'>,
'ImportError': <type 'exceptions.ImportError'>,
'ImportWarning': <type 'exceptions.ImportWarning'>,
'IndentationError': <type 'exceptions.IndentationError'>,
'IndexError': <type 'exceptions.IndexError'>,
'KeyError': <type 'exceptions.KeyError'>,
'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>,
'LookupError': <type 'exceptions.LookupError'>,
'MemoryError': <type 'exceptions.MemoryError'>,
'NameError': <type 'exceptions.NameError'>,
'None': None,
'NotImplemented': NotImplemented,
'NotImplementedError': <type 'exceptions.NotImplementedError'>,
'OSError': <type 'exceptions.OSError'>,
'OverflowError': <type 'exceptions.OverflowError'>,
'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>,
'ReferenceError': <type 'exceptions.ReferenceError'>,
'RuntimeError': <type 'exceptions.RuntimeError'>,
'RuntimeWarning': <type 'exceptions.RuntimeWarning'>,
'StandardError': <type 'exceptions.StandardError'>,
'StopIteration': <type 'exceptions.StopIteration'>,
'SyntaxError': <type 'exceptions.SyntaxError'>,
'SyntaxWarning': <type 'exceptions.SyntaxWarning'>,
'SystemError': <type 'exceptions.SystemError'>,
'SystemExit': <type 'exceptions.SystemExit'>,
'TabError': <type 'exceptions.TabError'>,
'True': True,
'TypeError': <type 'exceptions.TypeError'>,
'UnboundLocalError': <type 'exceptions.UnboundLocalError'>,
'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>,
'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>,
'UnicodeError': <type 'exceptions.UnicodeError'>,
'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>,
'UnicodeWarning': <type 'exceptions.UnicodeWarning'>,
'UserWarning': <type 'exceptions.UserWarning'>,
'ValueError': <type 'exceptions.ValueError'>,
'Warning': <type 'exceptions.Warning'>,
'WindowsError': <type 'exceptions.WindowsError'>,
'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>,
'__debug__': True,
'__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.",
'__import__': <built-in function __import__>,
'__name__': '__builtin__',
'abs': <built-in function abs>,
'all': <built-in function all>,
'any': <built-in function any>,
'apply': <built-in function apply>,
'basestring': <type 'basestring'>,
'bool': <type 'bool'>,
'buffer': <type 'buffer'>,
'callable': <built-in function callable>,
'chr': <built-in function chr>,
'classmethod': <type 'classmethod'>,
'cmp': <built-in function cmp>,
'coerce': <built-in function coerce>,
'compile': <built-in function compile>,
'complex': <type 'complex'>,
'copyright': Copyright (c) 2001-2008 Python Software Foundation.
All Rights Reserved.
Copyright (c) 2000 BeOpen.com.
All Rights Reserved.
Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved.,
'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
for supporting Python development. See www.python.org for more information.,
'delattr': <built-in function delattr>,
'dict': <type 'dict'>,
'dir': <built-in function dir>,
'divmod': <built-in function divmod>,
'enumerate': <type 'enumerate'>,
'eval': <built-in function eval>,
'execfile': <built-in function execfile>,
'exit': Use exit() or Ctrl-Z plus Return to exit,
'file': <type 'file'>,
'filter': <built-in function filter>,
'float': <type 'float'>,
'frozenset': <type 'frozenset'>,
'getattr': <built-in function getattr>,
'globals': <built-in function globals>,
'hasattr': <built-in function hasattr>,
'hash': <built-in function hash>,
'help': Type help() for interactive help, or help(object) for help about object.,
'hex': <built-in function hex>,
'id': <built-in function id>,
'input': <built-in function input>,
'int': <type 'int'>,
'intern': <built-in function intern>,
'isinstance': <built-in function isinstance>,
'issubclass': <built-in function issubclass>,
'iter': <built-in function iter>,
'len': <built-in function len>,
'license': Type license() to see the full license text,
'list': <type 'list'>,
'locals': <built-in function locals>,
'long': <type 'long'>,
'map': <built-in function map>,
'max': <built-in function max>,
'min': <built-in function min>,
'object': <type 'object'>,
'oct': <built-in function oct>,
'open': <built-in function open>,
'ord': <built-in function ord>,
'pow': <built-in function pow>,
'property': <type 'property'>,
'quit': Use quit() or Ctrl-Z plus Return to exit,
'range': <built-in function range>,
'raw_input': <built-in function raw_input>,
'reduce': <built-in function reduce>,
'reload': <built-in function reload>,
'repr': <built-in function repr>,
'reversed': <type 'reversed'>,
'round': <built-in function round>,
'set': <type 'set'>,
'setattr': <built-in function setattr>,
'slice': <type 'slice'>,
'sorted': <built-in function sorted>,
'staticmethod': <type 'staticmethod'>,
'str': <type 'str'>,
'sum': <built-in function sum>,
'super': <type 'super'>,
'tuple': <type 'tuple'>,
'type': <type 'type'>,
'unichr': <built-in function unichr>,
'unicode': <type 'unicode'>,
'vars': <built-in function vars>,
'xrange': <type 'xrange'>,
'zip': <built-in function zip>},
'__doc__': '\nMySQL database backend for Django.\n\nRequires MySQLdb: http://sourceforge.net/projects/mysql-python\n',
'__file__': 'D:\\Python25\\lib\\site-packages\\django\\db\\backends\\mysql\\base.pyc',
'__name__': 'django.db.backends.mysql.base',
'__warningregistry__': {},
'conversions': {0: <class 'decimal.Decimal'>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x0102DAF0>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x0102DA30>,
11: <function TimeDelta_or_None at 0x0102D9B0>,
12: <function DateTime_or_None at 0x0102D970>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <class 'decimal.Decimal'>,
248: <function Str2Set at 0x0103EE70>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<class 'sets.Set'>: <function Set2Str at 0x0103EEB0>,
<type 'array.array'>: <function array2Str at 0x010410F0>,
<type 'bool'>: <function Bool2Str at 0x0103EE30>,
<type 'instance'>: <function Instance2Str at 0x01041070>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x0102DAB0>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x0102DA70>,
<type 'dict'>: <built-in function escape_dict>,
<type 'float'>: <function Float2Str at 0x0103EF70>,
<type 'int'>: <function Thing2Str at 0x0103EEF0>,
<type 'list'>: <built-in function escape_sequence>,
<type 'long'>: <function Thing2Str at 0x0103EEF0>,
<type 'NoneType'>: <function None2NULL at 0x0103EFB0>,
<type 'str'>: <function Thing2Literal at 0x01041030>,
<type 'tuple'>: <built-in function escape_sequence>,
<type 'object'>: <function Instance2Str at 0x01041070>,
<type 'unicode'>: <function Unicode2Str at 0x0103EF30>},
'datetime_safe': <module 'django.utils.datetime_safe' from 'D:\Python25\lib\site-packages\django\utils\datetime_safe.pyc'>,
'django_conversions': {0: <function typecast_decimal at 0x01020530>,
1: <type 'int'>,
2: <type 'int'>,
3: <type 'long'>,
4: <type 'float'>,
5: <type 'float'>,
7: <function mysql_timestamp_converter at 0x0102DAF0>,
8: <type 'long'>,
9: <type 'int'>,
10: <function Date_or_None at 0x0102DA30>,
11: <function typecast_time at 0x01020470>,
12: <function DateTime_or_None at 0x0102D970>,
13: <type 'int'>,
15: [(128, <type 'str'>)],
246: <function typecast_decimal at 0x01020530>,
248: <function Str2Set at 0x0103EE70>,
252: [(128, <type 'str'>)],
253: [(128, <type 'str'>)],
254: [(128, <type 'str'>)],
<class 'sets.Set'>: <function Set2Str at 0x0103EEB0>,
<type 'array.array'>: <function array2Str at 0x010410F0>,
<type 'bool'>: <function Bool2Str at 0x0103EE30>,
<type 'instance'>: <function Instance2Str at 0x01041070>,
<type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x0102DAB0>,
<type 'datetime.datetime'>: <function DateTime2literal at 0x0102DA70>,
<type 'dict'>: <built-in function escape_dict>,
<type 'float'>: <function Float2Str at 0x0103EF70>,
<type 'int'>: <function Thing2Str at 0x0103EEF0>,
<type 'list'>: <built-in function escape_sequence>,
<type 'long'>: <function Thing2Str at 0x0103EEF0>,
<type 'NoneType'>: <function None2NULL at 0x0103EFB0>,
<type 'str'>: <function Thing2Literal at 0x01041030>,
<type 'tuple'>: <built-in function escape_sequence>,
<type 'object'>: <function Instance2Str at 0x01041070>,
<type 'unicode'>: <function Unicode2Str at 0x0103EF30>},
'filterwarnings': <function filterwarnings at 0x00BE59F0>,
'local': <type 'thread._local'>,
'mysql': <module 'django.db.backends.mysql' from 'D:\Python25\lib\site-packages\django\db\backends\mysql\__init__.pyc'>,
're': <module 're' from 'D:\Python25\lib\re.pyc'>,
'server_version_re': <_sre.SRE_Pattern object at 0x01038318>,
'settings': <django.conf.LazySettings object at 0x00C8A110>,
'util': <module 'django.db.backends.util' from 'D:\Python25\lib\site-packages\django\db\backends\util.pyc'>,
'version': (1, 2, 2, 'final', 0)} |
| msg | <_sre.SRE_Pattern object at 0x0103DDD0> |
| registry | {} |
| text | "Incorrect string value: '\\xE4\\xB8\\xAD\\xE6\\x96\\x87' for column 'type_name' at row 1" |
No GET data
| Variable | Value |
|---|---|
| type_desc | u'\u4e2d\u6587' |
| type_name | u'\u4e2d\u6587' |
| _save | u'\u4fdd\u5b58' |
| Variable | Value |
|---|---|
| sessionid | '36252a93cec513f8db70c127f8809c2a' |
| Variable | Value |
|---|---|
| ALLUSERSPROFILE | 'C:\\Documents and Settings\\All Users' |
| APPDATA | 'C:\\Documents and Settings\\Administrator\\Application Data' |
| COMMONPROGRAMFILES | 'C:\\Program Files\\Common Files' |
| COMPUTERNAME | 'JUSTICE' |
| COMSPEC | 'C:\\WINDOWS\\system32\\cmd.exe' |
| CONTENT_LENGTH | '350' |
| CONTENT_TYPE | 'multipart/form-data; boundary=---------------------------7d8da11e066e' |
| DJANGO_SETTINGS_MODULE | 'activity.settings' |
| FP_NO_HOST_CHECK | 'NO' |
| GATEWAY_INTERFACE | 'CGI/1.1' |
| HOMEDRIVE | 'C:' |
| HOMEPATH | '\\Documents and Settings\\Administrator' |
| HTTP_ACCEPT | 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, */*' |
| HTTP_ACCEPT_ENCODING | 'gzip, deflate' |
| HTTP_ACCEPT_LANGUAGE | 'zh-cn' |
| HTTP_CACHE_CONTROL | 'no-cache' |
| HTTP_CONNECTION | 'Keep-Alive' |
| HTTP_COOKIE | 'sessionid=36252a93cec513f8db70c127f8809c2a' |
| HTTP_HOST | 'localhost:8000' |
| HTTP_REFERER | 'http://localhost:8000/admin/act/acttype/add/' |
| HTTP_USER_AGENT | 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30)' |
| JAVA_HOME | 'C:\\Program Files\\Java\\jdk1.6.0' |
| LOGONSERVER | '\\\\JUSTICE' |
| NUMBER_OF_PROCESSORS | '2' |
| OS | 'Windows_NT' |
| PATH | 'D:\\oracle\\ora92\\bin;C:\\ClarifyCRM12iSR1.05\\Configurator\\Common Files\\CCAutomation;C:\\ClarifyCRM12iSR1.05\\ClarifyClient;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Java\\jdk1.6.0\\;D:\\Python25\\;D:\\maven-2.0.4\\bin;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\PROGRA~1\\F-Secure\\SSHTRI~1;' |
| PATHEXT | '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' |
| PATH_INFO | u'/admin/act/acttype/add/' |
| PROCESSOR_ARCHITECTURE | 'x86' |
| PROCESSOR_IDENTIFIER | 'x86 Family 6 Model 15 Stepping 2, GenuineIntel' |
| PROCESSOR_LEVEL | '6' |
| PROCESSOR_REVISION | '0f02' |
| PROGRAMFILES | 'C:\\Program Files' |
| PROMPT | '$P$G' |
| PYTHON_HOME | 'D:\\Python25' |
| QUERY_STRING | '' |
| REMOTE_ADDR | '127.0.0.1' |
| REMOTE_HOST | '' |
| REQUEST_METHOD | 'POST' |
| RUN_MAIN | 'true' |
| SCRIPT_NAME | u'' |
| SERVER_NAME | 'localhost' |
| SERVER_PORT | '8000' |
| SERVER_PROTOCOL | 'HTTP/1.1' |
| SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.5.2' |
| SESSIONNAME | 'Console' |
| SYSTEMDRIVE | 'C:' |
| SYSTEMROOT | 'C:\\WINDOWS' |
| TEMP | 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp' |
| TMP | 'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp' |
| USERDOMAIN | 'JUSTICE' |
| USERNAME | 'Administrator' |
| USERPROFILE | 'C:\\Documents and Settings\\Administrator' |
| WF_RESOURCES | 'D:\\oracle\\ora92\\WF\\RES\\WFus.RES' |
| WINDIR | 'C:\\WINDOWS' |
| wsgi.errors | <open file '<stderr>', mode 'w' at 0x00B6F0B0> |
| wsgi.file_wrapper | <class 'django.core.servers.basehttp.FileWrapper'> |
| wsgi.input | <socket._fileobject object at 0x011D2B30> |
| wsgi.multiprocess | False |
| wsgi.multithread | True |
| wsgi.run_once | False |
| wsgi.url_scheme | 'http' |
| wsgi.version | (1, 0) |
activity.settings| Setting | Value |
|---|---|
| ABSOLUTE_URL_OVERRIDES | {} |
| ADMINS | () |
| ADMIN_FOR | () |
| ADMIN_MEDIA_PREFIX | '/media/' |
| ALLOWED_INCLUDE_ROOTS | () |
| APPEND_SLASH | True |
| AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
| BANNED_IPS | () |
| CACHE_BACKEND | 'locmem://' |
| CACHE_MIDDLEWARE_KEY_PREFIX | '' |
| CACHE_MIDDLEWARE_SECONDS | 600 |
| COMMENTS_ALLOW_PROFANITIES | False |
| COMMENTS_BANNED_USERS_GROUP | None |
| COMMENTS_FIRST_FEW | 0 |
| COMMENTS_MODERATORS_GROUP | None |
| COMMENTS_SKETCHY_USERS_GROUP | None |
| DATABASE_ENGINE | 'mysql' |
| DATABASE_HOST | '202.38.33.30' |
| DATABASE_NAME | 'activity' |
| DATABASE_OPTIONS | {} |
| DATABASE_PASSWORD | '********************' |
| DATABASE_PORT | '' |
| DATABASE_USER | 'root' |
| DATETIME_FORMAT | 'N j, Y, P' |
| DATE_FORMAT | 'N j, Y' |
| DEBUG | True |
| DEBUG_PROPAGATE_EXCEPTIONS | False |
| DEFAULT_CHARSET | 'utf-8' |
| DEFAULT_CONTENT_TYPE | 'text/html' |
| DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
| DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
| DEFAULT_INDEX_TABLESPACE | '' |
| DEFAULT_TABLESPACE | '' |
| DISALLOWED_USER_AGENTS | () |
| EMAIL_HOST | 'localhost' |
| EMAIL_HOST_PASSWORD | '********************' |
| EMAIL_HOST_USER | '' |
| EMAIL_PORT | 25 |
| EMAIL_SUBJECT_PREFIX | '[Django] ' |
| EMAIL_USE_TLS | False |
| FILE_CHARSET | 'utf-8' |
| FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
| FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
| FILE_UPLOAD_PERMISSIONS | None |
| FILE_UPLOAD_TEMP_DIR | None |
| FIXTURE_DIRS | () |
| FORCE_SCRIPT_NAME | None |
| IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
| IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
| INSTALLED_APPS | ['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'activity.act'] |
| INTERNAL_IPS | () |
| JING_PATH | '/usr/bin/jing' |
| LANGUAGES | (('ar', 'Arabic'),
('bn', 'Bengali'),
('bg', 'Bulgarian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('es', 'Spanish'),
('et', 'Estonian'),
('es-ar', 'Argentinean Spanish'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('ga', 'Irish'),
('gl', 'Galician'),
('hu', 'Hungarian'),
('he', 'Hebrew'),
('hr', 'Croatian'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('ko', 'Korean'),
('km', 'Khmer'),
('kn', 'Kannada'),
('lv', 'Latvian'),
('lt', 'Lithuanian'),
('mk', 'Macedonian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('pl', 'Polish'),
('pt', 'Portugese'),
('pt-br', 'Brazilian Portuguese'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sr', 'Serbian'),
('sv', 'Swedish'),
('ta', 'Tamil'),
('te', 'Telugu'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese')) |
| LANGUAGES_BIDI | ('he', 'ar', 'fa') |
| LANGUAGE_CODE | 'zh-cn' |
| LANGUAGE_COOKIE_NAME | 'django_language' |
| LOCALE_PATHS | () |
| LOGIN_REDIRECT_URL | '/accounts/profile/' |
| LOGIN_URL | '/accounts/login/' |
| LOGOUT_URL | '/accounts/logout/' |
| MANAGERS | () |
| MEDIA_ROOT | '' |
| MEDIA_URL | '' |
| MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware') |
| MONTH_DAY_FORMAT | 'F j' |
| PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
| PREPEND_WWW | False |
| PROFANITIES_LIST | '********************' |
| ROOT_URLCONF | 'activity.urls' |
| SECRET_KEY | '********************' |
| SEND_BROKEN_LINK_EMAILS | False |
| SERVER_EMAIL | 'root@localhost' |
| SESSION_COOKIE_AGE | 1209600 |
| SESSION_COOKIE_DOMAIN | None |
| SESSION_COOKIE_NAME | 'sessionid' |
| SESSION_COOKIE_PATH | '/' |
| SESSION_COOKIE_SECURE | False |
| SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
| SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
| SESSION_FILE_PATH | None |
| SESSION_SAVE_EVERY_REQUEST | False |
| SETTINGS_MODULE | 'activity.settings' |
| SITE_ID | 1 |
| TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media') |
| TEMPLATE_DEBUG | True |
| TEMPLATE_DIRS | ('D:/web/activity/templates',) |
| TEMPLATE_LOADERS | ('django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source') |
| TEMPLATE_STRING_IF_INVALID | '' |
| TEST_DATABASE_CHARSET | None |
| TEST_DATABASE_COLLATION | None |
| TEST_DATABASE_NAME | None |
| TEST_RUNNER | 'django.test.simple.run_tests' |
| TIME_FORMAT | 'P' |
| TIME_ZONE | 'Asia/Shanghai' |
| TRANSACTIONS_MANAGED | False |
| URL_VALIDATOR_USER_AGENT | u'Django/1.0-final-SVN-unknown (http://www.djangoproject.com)' |
| USE_ETAGS | False |
| USE_I18N | True |
| YEAR_MONTH_FORMAT | 'F Y' |
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard 500 page.